package com.ctg.itrdc.imageconsole.common.constants;

/**
 * 自动伸缩时使用到的常量
 * 
 * @author wupiao
 *
 */
public final class AutoElasticConstant {

	public final static String RUNNING_STATE = "001";// 启用
	public final static String STOP_STATE = "002";// 停用

	public final static Integer AUTO_ELASTIC = new Integer(1);// 启用自动伸缩
	public final static String NOT_AUTO_ELASTIC = "002";// 未启动

	public final static String TIME_RATE_ONCE = "001";
	public final static String TIME_RATE_DAY = "002";
	public final static String TIME_RATE_WEEK = "003";
	public final static String TIME_RATE_MONTH = "004";
	public final static String TIME_RATE_YEAR = "005";

	public final static String ELASTIC_INDICATOR_TIME = "001";
	public final static String ELASTIC_INDICATOR_CPU = "002";
	public final static String ELASTIC_INDICATOR_MEM = "003";

	public final static String ELASTIC_STATE_SUCCESS = "001";
	public final static String ELASTIC_STATE_DOING = "002";
	public final static String ELASTIC_STATE_FAIL = "003";

}
